package com.jiangjiang.eshop.finance.convert;

import com.jiangjiang.eshop.finance.domain.PurchaseSettlementOrderItem;
import com.jiangjiang.eshop.finance.dto.PurchaseSettlementOrderItemDTO;
import org.mapstruct.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * @ClassName PurchaseSettlementOrderItemConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/16 0:09
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface PurchaseSettlementOrderItemConvert {

    List<PurchaseSettlementOrderItem> convertDTOList2Entities(List<PurchaseSettlementOrderItemDTO> items);

    List<PurchaseSettlementOrderItemDTO> convetEntities2DTOList(List<PurchaseSettlementOrderItem> list);
}
